<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<input type="text" id= "Rcount" style="display:none" value="${resourceCount }"  />
<table width="1000px" border="0" style="margin: 0px auto">
  <tbody>
    <tr>
      <td align="center">
        <table width="70%" border="0">
<c:forEach items = "${resourcelist}" var ="sharingResource"  >
  <tbody>
    <tr>
      <th colspan="4" align="left" style="text-align: left;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
border-bottom: 1px solid #CCC;
background-color: #EEE;
background-image: -moz-linear-gradient(center top , #F5F5F5, #EEE);font-size: 15px;">${sharingResource.resourceName }</th>
      </tr>
    <tr>
      <td width="90" align="left"><strong>软件类型：</strong></td>
      <td width="82" align="left" valign="middle" ">${sharingResource.resourceTypeDes}</td>
      <td width="86" align="right"><strong>上传时间：</strong></td>
      <td width="421" align="left"  >${sharingResource.resourceDateStr}</td>
    </tr>
    <tr>
      <td colspan="4" align="left" class="desTd"><strong>软件介绍：</strong></td>
      </tr>
    <tr>
      <td colspan="4" align="left" class="desDiv desDivB" name="resource_des" data="${sharingResource.resourceDes}">此资源没有介绍内容</td>
      </tr>
    <tr>
      <td width="90" align="left"><strong>下载地址：</strong></td>
      <td align="left" valign="middle"><a href="upload${sharingResource.resourceUrl}">点击下载</a></td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
    </tr>
    </tbody>
    </c:forEach>
</table>

      
    </tr>
    
  </tbody>
</table>

<script  type="text/javascript"> 
 $(function(){

   
    

   $("td[name='resource_des']").each(function(){
   var data = $(this).attr("data") ;
   if(data!=null&&data!=""){
     $(this).html(data) ;
     $(this).removeClass("desDivB")
   } 
   
   }) 
   
  })
 
 
</script>